package com.parenting.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OrderDetailsResponse对象", description="订单详情")
public class OrderDetailsResponse implements Serializable {

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    @ApiModelProperty(value = "订单编号")
    private String orderNumber;

    @ApiModelProperty(value = "订单类型")
    private String orderType;

    @ApiModelProperty(value = "购买人姓名")
    private String buyerName;


    @ApiModelProperty(value = "购买账号")
    private String buyerAccount;

    @ApiModelProperty(value = "订单状态 1未支付，2已支付，3交易成功，4交易关闭，5退款中，6已退款，7拒绝退款")
    private Integer orderState;

    @ApiModelProperty(value = "实付金额 单位分 订单总价")
    private Integer paid;

    @ApiModelProperty(value = "优惠价（单价，单位分）")
    private Integer concessional;

    @ApiModelProperty(value = "原价 单位分 订单总价 ")
    private Integer originalPrice;

    @ApiModelProperty(value = "优惠 单位分")
    private Integer discount;

    @ApiModelProperty(value = "购买物品名称")
    private String itemName;

    @ApiModelProperty(value = "购买物品ID，实际上是活动详情的ID")
    private String itemId;

    @ApiModelProperty(value = "物品图片")
    private String itemImageUrl;

    @ApiModelProperty(value = "购买数量")
    private Integer itemNumber;

    @ApiModelProperty(value = "下单时间")
    private Date orderTime;

    @ApiModelProperty(value = "支付时间")
    private Date paymentTime;

    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    @ApiModelProperty(value = "退款原因")
    private  String refundReason;

    @ApiModelProperty(value = "退款补充理由")
    private  String supplement;

    @ApiModelProperty(value = "拒绝退款理由")
    private String remarks;

    @ApiModelProperty(value = "使用时间")
    private Date useTime;

}
